home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11891 < prev    next >
Encoding:
Text File  |  1996-08-05  |  879 b   |  26 lines

  1. Newsgroups: comp.lang.c
  2. Path: newsfeed.acns.nwu.edu!ftpbox!mothost!schbbs!news
  3. From: george_helm <ghelm>
  4. Subject: Need code to remove non-adjacent duplicate lines
  5. Content-Type: text/plain; charset=us-ascii
  6. Organization: MOTOROLA 
  7. Date: Wed, 27 Mar 1996 11:31:54 GMT
  8. Message-ID: <1996Mar27.113154.14694@schbbs.mot.com>
  9. X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.01 9000/735)
  10. Mime-Version: 1.0
  11. X-Url: news:comp.lang.c
  12. Content-Transfer-Encoding: 7bit
  13. Sender: news@schbbs.mot.com (SCHBBS News Account)
  14. Nntp-Posting-Host: 144.191.12.71
  15.  
  16. Does anyone have C code that will remove *non-adjacent* duplicate
  17. lines from an ascii file ? I need to retain the original file
  18. format so I can't use simple stuff like sort -u or uniq in UNIX.
  19. Help on this is greatly appreciated.
  20.  
  21. Thanks
  22. George Helm
  23.  ghelm@mot1.phx.mcd.mot.com -or- qwuu93a@prodigy.com
  24.  http://www.tripod.com/~Awkster/index.html
  25.  
  26.